package dk.dashboardFP.interactionElementFramwork.buttons {
	import dk.dashboardFP.interactionElementFramwork.InteractionElementEvent;

	import flash.events.Event;

	/**
	 * @author jk
	 */
	public class ButtonEvent extends InteractionElementEvent {
		public static const CLICKED : String = "CLICKED";
		private var _oOriginalEvent : Event;
		public static const MOUSE_DOWN : String = "MOUSE_DOWN_BUTTON";
		public static const MOUSE_UP : String = "MOUSE_UP";

		public function ButtonEvent(type : String, oOriginalEvent : Event, bubbles : Boolean = false, cancelable : Boolean = false) {
			_oOriginalEvent = oOriginalEvent;
			super(type, oOriginalEvent, bubbles, cancelable);
		}

		override public function clone() : Event {
			return new ButtonEvent(type, oOriginalEvent, bubbles, cancelable);
		}
	}
}
